package com.aaa;

import com.hone.honewed.uilt.Sendmss;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author ：StudentLsj（李世界）
 * @date ：Created in 2023/02/01 上午 10:39
 * @description：
 * @modified By：
 * @version:
 */
//springboot默认扫描的主类所在的包以及子包。 能够可以修改springboot的包扫描
@SpringBootApplication(scanBasePackages ={"com.aaa","com.eig.common"} )
@MapperScan(basePackages = "com.aaa.dao")
public class TeacherWebApp {

    public static void main(String [] args) {
        SpringApplication.run(TeacherWebApp.class, args);
    }

    @Bean
    public Sendmss Sendmss() {
        return new Sendmss();
    }
}
